<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__PUBLIC__/admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/admin/css/select.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/page.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/admin/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/select-ui.min.js"></script>
</head>
<!--弹出框-->
<script type="text/javascript">   
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>
<body>
  <a href="">123</a>
	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="{:U('admin/main')}">首页</a></li>
    <li><a >表单管理</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    <div class="tools">
        <form action="" method="get" style="float:right;">
    	<ul class="searchform">
        <!--<a id="add"><li ><span><img src="__PUBLIC__/admin/images/t01.png" /></span>添加角色</li></a>-->

		<li style="float:left;"><label>搜索:&nbsp;</label><input name="search" type="text" class="scinput" /></li>
		<li style="float:left; margin-left:10px;"><label>&nbsp;</label><input type="submit" class="scbtn" value="查询"/></li>
        </ul>
    </form>
    </div>
    <table  class="formtable"  width="100%" cellspacing="0">
    	<thead>
    	<tr>
    	<th height="35"> </th>
    	<th> </th>
        <th >ID</th>
        <th>进度</th>
         <th>登录名</th>
         <th>进单日</th>
        <th>聊天ID</th>
        <th>付款ID</th>
        <th>品牌</th>
        <th>产品名</th>
        <th>型号</th>
        <th>QQ</th>
        <th>VIP</th>
        <th>售前</th>
        <th>套餐</th>
        <th>姓名</th>
        <th>手机</th>
        <th>QQ</th>
        <th>提交日期</th>
        <th>营销顾问</th>
        <th>流程操作</th>
        <th>操作</th>
        <th>删除</th>
        </tr>
        </thead>
        <tbody>
        	<volist name="list" id="vo">
<tr>
 <td height="35"></td><td></td>
<td>{$vo.id}</td>
   <td>&nbsp;{$vo.form_status}</td>
        <td>&nbsp;{$vo.username}</td>
 <td>&nbsp;{$vo.jindan_date|date='n-d',###}&nbsp;</td><!--n-d-->
        <td>&nbsp;<a href="http://www.taobao.com/webww/?ver=1&&touid=cntaobao{$vo.chat_ww}&siteid=cntaobao&status=2&portalId=&gid=&itemsId=" target="_blank">{$vo.chat_ww}</a>&nbsp;</td>
        <td>&nbsp;<a href="http://www.taobao.com/webww/?ver=1&&touid=cntaobao{$vo.fukuang_ww}&siteid=cntaobao&status=2&portalId=&gid=&itemsId=" target="_blank">{$vo.fukuang_ww}</a>&nbsp;</td>
        <td>&nbsp;{$vo.pro_name}&nbsp;</td>
        <td>&nbsp;{$vo.product}&nbsp;</td>
        <td>&nbsp;{$vo.pro_xinghao}&nbsp;</td>
  <td>&nbsp;<a class="QQ-ico" title="Q我吧" href="http://wpa.qq.com/msgrd?v=3&uin={$vo.qq}&site=qq&menu=yes" target="blank">  {$vo.qq}</a>&nbsp;</td>
        <td>&nbsp;<if condition="$vo.if_vip eq 1">是<else />否</if>&nbsp;</td>
        <td>&nbsp;{$vo.sale_name}&nbsp;</td>
        <td>&nbsp;{$vo.taocan_name|mb_substr=0,1,'utf-8'}&nbsp;</td>
<td>{$vo.realname}</td>
<td>{$vo.phone}</td>
<td>{$vo.qq}</td>
<td>{$vo.jindan_date|date='Y-m-d',###}</td>
<td>{$vo.sale_name}</td>
<td><a class="edit" class="tablelink"  userid="{$vo.id}"  data-toggle="modal" href="#myAlert" >更改流程</a></td>
<td><a href="{:U('form/look')}/fid/{$vo.id}">查看更多</a></td>
<td><a class="shan" class="tablelink"  userid="{$vo.id}"  data-toggle="modal" href="#myAlert" >删除</a></td>
</tr>
        	</volist>

        </tbody>   
    </table>
     <style>span{display: inline;}</style>
    <div class="msdn" style="text-align:center; margin-top:20px;">
	  {$page}
</div>
   <script>
   	$("a.shan").click(function(){
			$("#s").attr("style","display:block");
			var id = $(this).attr("userid");
			
			$("#delid").attr("value",id);
		});
			$("a.edit").click(function(){
			$("#e").attr("style","display:block");
			var id = $(this).attr("userid");
			
			$("#editid").attr("value",id);
		});
	</script>
	<div id="e" class="tip" style="">
    	<div class="tiptop"><span>修改</span><a></a></div>
        <form action="{:U('form/change')}" method="post" >
      <div class="tipinfo">
        <span><img src="__PUBLIC__/admin/images/ticon.png" /></span>
        <div class="tipright">
        <p>新的流程:</p>
        <input type="hidden" name="id" id="editid" />
        <div class="vocation">
				    <select class="select1" name="sid">
				  <volist name="status_list" id="vo">
				  <option value="{$vo.id}">{$vo.name}</option>
				  </volist>
				    </select>
				</div>
				<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 150			  
	});
	
});
</script>
        </div>
        </div>
        
        <div class="tipbtn" style="margin-left:145px;">
        <input type="submit"  class="sure" value="确定" style="margin-right:30px;" />&nbsp;
			<input name="" type="button"  class="cancel" value="取消" />
        </div>
    </form>	
    </div>

	<div id="s" class="tip" style="">
    	<div class="tiptop"><span>删除提示</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="__PUBLIC__/admin/images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认删除此表单 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
			<input name="" type="button"  class="cancel" value="取消" style="float:right;margin-right:30px;"/>
		<form action="{:U('form/del')}" method="post" style="float:right;">
			<input id="delid" type="hidden" name="id" value="">	
			<input type="submit"  class="sure" value="确定" />&nbsp;
		</form>	
			
        </div>
    
    </div>

</body>

</html>
